package nimble.pay.trade.server.system.chain.trade;

import nimble.pay.trade.server.framework.TradeProcessor;
import nimble.pay.trade.specification.TradeObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/** 商户数据处理
 * @author max woods
 * @date 2018/8/7
 */

@Component
public class TradePreProcessMerchant implements TradeProcessor {

  private static final Logger logger= LoggerFactory.getLogger(TradePreProcessMerchant.class);

  public TradePreProcessMerchant()
  {
    logger.info("===========初始化商户数据前置处理===========");
  }

  @Override
  public boolean processTrade(TradeObject request, TradeObject response)
  {
    logger.info("===========调用商户数据前置处理===========");
    return true;
  }
}
